﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace Excell_On_Services.Infrastructure.Config
{
    public class Configuration : ConfigurationSection
    {
        public static Configuration Instance = (Configuration)ConfigurationManager.GetSection("Excell_On_Services");

        [ConfigurationProperty("postPerPage", IsRequired = false, DefaultValue = 10)]
        public int PostPerPage
        {
            get { return (int)this["postPerPage"]; }
            set { this["postPerPage"] = value; }
        }
    }
}